package com.tan.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @program: oauth2-access-token->RestTemplateConfiguration
 * @description:
 * @author: tanjingyu
 * @create: 2020-04-16 22:26
 **/
@Configuration
public class RestTemplateConfiguration {
    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
}
